// /app/api/projects/[id]/route.ts
export async function GET(
  request: Request,
  { params }: { params: { id: string } },
) {
  const proId = params.id;
  return Response.json({
    projectId: proId,
    message: `Fetching project ${proId}`,
  });
}

export async function POST(
  request: Request,
  { params }: { params: { id: string } },
) {
  const data = await request.json();
  const proId = params.id;
  return Response.json({ projectId: proId, message: "POST project", data });
}
